#!/usr/bin/env bash
version=1.0.3
if [ -n "$1" ]; then
    version=$1
fi
docker build -t registry.cn-beijing.aliyuncs.com/zmice-docker/blog-web:${version} -f src/main/docker/Dockerfile .
docker push registry.cn-beijing.aliyuncs.com/zmice-docker/blog-web:${version}